import { defineStore } from 'pinia';

interface UploadFile {
  model: Recordable;
}

export const useLargeScreenStore = defineStore({
  id: 'large-screen',
  state: (): UploadFile => ({
    model: {},
  }),
  getters: {
    getModel(): Recordable {
      return this.model;
    },
  },
  actions: {
    setModel(params = {}) {
      this.model = { ...params };
    },
  },
});
